package com.zerui.manager.web.cmd;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.sql.Time;

/**
 * @author liushaohua
 * @title: DeviceCurfewOpenOrCloseCmd
 * @description:
 * @date 2023/10/21 15:28
 */
@Data
@ToString
public class DeviceCurfewOpenOrCloseCmd {

	@ApiModelProperty(value="设备id")
	@NotNull(message = "设备id不能为空")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long deviceId;

	@ApiModelProperty("设备门禁状态 控制设备门禁")
	@NotNull(message = "开关 0：开 1：关")
	private Integer accessStatus;


}
